<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>http协议</title>
</head>
<body>
<h1>Get请求</h1>
<form action="/servlet05/GetServlet" method="get">
    username<input type="text" name="username"/><br>
    password<input type="password" name="userpwd"/><br>
    <input type="submit" value=""login>
</form>
<h1>post请求</h1>
<form action="/servlet05/PostServlet" method="post">
    username<input type="text" name="username"/><br>
    password<input type="password" name="userpwd"/><br>
    <input type="submit" value=""login>
</form>
</body>
</html>